/*
 * @Author: your name
 * @Date: 2021-05-18 23:26:13
 * @LastEditTime: 2021-05-18 23:38:03
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \undefinedf:\share\16_rust_test\learn_crate\mylib\src\animal.rs
 */

pub mod dog{
    pub fn hello(){
        println!("wangwang");
    }

    pub fn is_dog() -> bool {
        true
    }
}

pub mod cat{
    pub fn hello(){
        println!("miaomiao");
    }
    pub fn is_cat() -> bool {
        true
    }
}